<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="keywords" content="<?php echo settings()->get('site', 'meta_key') ?>"/>
	<meta name="description" content="<?php echo settings()->get('site', 'meta_description') ?>"/>

	<script type="text/javascript" src="<?php echo WWW_URL ?>js/jquery.js"></script>
	<link rel="icon" href="<?php echo settings()->get('site', 'favicon') ?>" type="image/x-icon"/>
	<title><?php echo settings()->get('site', 'name'); ?></title>
	<link rel="stylesheet" type="text/css" href="<?php echo WWW_URL ?>css/bootstrap.css" />
	<link rel="stylesheet" type="text/css" href="<?php echo WWW_URL ?>js/mediaelement/mediaelementplayer.css" />
	<link rel="stylesheet" type="text/css" href="<?php echo WWW_URL ?>fancybox/jquery.fancybox-1.3.1.css" />	
	<link rel="stylesheet" type="text/css" href="<?php echo WWW_URL ?>css/style.css" />

	<script type="text/javascript" src="<?php echo WWW_URL ?>js/bootstrap.js"></script>
	<script type="text/javascript" src="<?php echo WWW_URL ?>js/mediaelement/mediaelement-and-player.min.js"></script>	
	<script type="text/javascript" src="<?php echo WWW_URL ?>js/jquery.form.js"></script>
	<script src='<?php echo WWW_URL ?>js/custom.js' type='text/javascript'></script>

	<?php //copy clip board?>
	<script type="text/javascript" src="<?php echo WWW_URL ?>js/jquery.zclip.min.js"></script>


	<script type="text/javascript">

	    $.yiimailbox = {};

	</script>

	<script type="text/javascript" src="<?php echo WWW_URL ?>fancybox/jquery.fancybox-1.3.1.js"></script>
    </head>

    <body>


	<input type="hidden" value="<?php echo SITE_NAME_URL ?>" id="urlSite"/>

	<input type="hidden" value="<?php echo settings()->get('text_site', 'send_abuse'); ?>" id="abuseSuccessMsg"/>

	<!----------------------- ADD FRIEND SUCCESSFULLY --------------------------->
	<div id="add-friend-success" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
	    <div class="modal-header">
		<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
		<h3 id="myModalLabel">Friend Request Sent</h3>
	    </div>
	    <div class="modal-body">
		<div class="alert alert-success">Your friend request has been sent.
		</div>
	    </div>
	    <div class="modal-footer">
		<button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>	
	    </div>
	</div>

	<?php include '_alert_not_active.php'; ?>

	<div class="header">
	    <div class="container">
		<div class="logo">
		    <a href="<?php echo SITE_NAME_URL ?>"><img src="<?php echo settings()->get('site', 'logo') ?>" /></a>
		</div>
		<div class="pull-right">
		    <div class="search">
			<form action="<?php echo SITE_NAME_URL ?>post/search" method="post">			    
			    <input type="text" placeholder="Search" name="text-search" value="<?php if (isset($_POST['text-search'])) echo $_POST['text-search'] ?>"/>
			    <input type="submit" name="search"/>
			</form>
		    </div>
		</div>
	    </div><!--container-->
	</div><!--header-->

	<div class="container">
	    <div class="content">
		<?php echo $content; ?>
	    </div><!--content-->
	</div><!--container-->

	<div class="footer">
	    <div class="container">
		<div class="pull-left" style="margin-top:20px;">
		    <a href="<?php echo SITE_NAME_URL ?>about">About </a>
		    <a href="<?php echo SITE_NAME_URL ?>FAQ">FAQ </a>
		    <a href="<?php echo SITE_NAME_URL ?>terms_&_conditions">Terms & Conditions </a>
		    <a href="<?php echo SITE_NAME_URL ?>privacy_policy">Privacy Policy </a>
		    <a href="<?php echo SITE_NAME_URL ?>contact">Contact page </a>
		</div>
		<?php /*
		  <div class="pull-right">
		  <a href="<?php echo settings()->get('site', 'facebook_link'); ?>"><img src="<?php echo WWW_URL ?>images/so.jpg" /></a>
		  <a href="<?php echo settings()->get('site', 'twitter_link'); ?>"><img src="<?php echo WWW_URL ?>images/so1.jpg" /></a>
		  <a href="<?php echo settings()->get('site', 'vimeo_link'); ?>"><img src="<?php echo WWW_URL ?>images/so2.jpg" /></a>
		  </div>
		 * 
		 */ ?>
	    </div>
	</div>

    </body>
</html>